<template>
  <div>
    <div class="selbox-title icon-user" :class="icon">{{title}}</div>
    <slot />
  </div>
</template>
<script>
export default {
  props: {
    title: {
      default: '医院等级',
      type: String
    },
    icon: {
      type: String,
      default: ''
    }
  },
  data() {
    return {}
  }
}
</script>
<style>
.selbox-title{
  font-size: 17px;
  color: #fff;
  padding: 0 30px 10px 30px;
  margin-top: 10px;
}
.icon-sel-box{
  padding-left: 30px;
}
.el-input--suffix .el-input__inner {
  margin-bottom: 12px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  border: 0;
  border-radius: 4px;
  background-color: rgba(246, 242, 226, 0.4);
  font-size: 16px;
  color: #ababab;
}

.el-input__prefix, .el-input__suffix {
  position: absolute;
  top: -5px;
}
</style>
